package com.zhiwei.codesecurity.web.common.constants;
import com.zhiwei.codesecurity.common.utils.ReloadAbleProperty;

public class Constants {
    public static final String REQUEST_PARAMS = "request_params_realy";

    /**
     * 请求参数加密标识
     */
    public static final String REQUEST_ENCRYPT_FLAG = "request_params_encrypt_flag";

    /**
     * api参数token key
     */
    public static final String API_PARAMS_TOKEN_KEY = "token";

    /**
     * api参数token 分割线
     */
    public static final String API_PARAMS_TOKEN_SPLIT = "_";

    /**
     * api参数header key
     */
    public static final String API_PARAMS_HEADER_KEY = "header";

    /**
     * api参数body key
     */
    public static final String API_PARAMS_BODY_KEY = "body";


    /**
     * api 加密data key
     */
    public static final String API_PARAMS_DATA_KEY = "data";


    /**
     * api参数body中的用户id key
     */
    public static final String API_PARAMS_USERID_KEY = "userId";

    /**
     * 银行卡图标uri路径
     */
    public static final String RESOURCE_URI_BANK = "/bank/";

    /**
     * png图片后缀
     */
    public static final String RESOURCE_URI_PIC_PNG = ".png";


    /**
     * 用户未绑卡
     */
    public static final int USER_BANK_CARD_UN_BIND = 30001;

    /**
     * 获取业务方ID
     */
    public static final String PARTNER_ID = ReloadAbleProperty.getProperty("collection.partnerId");

    /**
     * 催记联系内容数据
     */
    public static final String COLLECTION_NOTE_CONTACTS = ReloadAbleProperty.getProperty("collection.note.contacts");

    /**
     * 催记催收结果数据
     */
    public static final String COLLECTION_NOTE_RESULTS = ReloadAbleProperty.getProperty("collection.note.results");


    /**
     * 容联云成功状态
     */
    public static final String RLY_HIDE_MOBILE_RESP_SUCCESS = "000000";

    /**
     * 容联云失败状态
     */
    public static final String RLY_HIDE_MOBILE_RESP_FAIL = "111111";

    /**
     * charSet
     */
    public static final String CHAR_SET = "UTF-8";

    /**
     * 账户key
     */
    public static final String ACCOUNT_SIGN_KEY = ReloadAbleProperty.getProperty("account.service.signKey");

    /**
     * 充值提现成功
     */
    public static final Integer BALANCE_STATUS_SUCC = 1;

    /**
     * 充值提现失败
     */
    public static final Integer BALANCE_STATUS_FAIL = 2;

    /**
     * 充值提现处理中
     */
    public static final Integer BALANCE_STATUS_DEALING = 3;


    /**
     * 类别：红包
     */
    public static final String TYPE_BONUS = "bonus";

    /**
     * 红包提现最低金额(单位：毫）
     */
    public static final String KEY_BONUS_WITHDRAW_MIN_AMOUNT = "key_bonus_withdraw_min_amount";
}
